Get Price Change for Token Over An Interval
GET/trade/pricechange/interval/:timeFrame/:tokenAddress
Get Price Change for Token Over An Interval
Request
Path Parameters
timeFrame stringrequired
How far to look back. Allowed values: "ALL","MONTH","WEEK","DAY","HOUR"
Example: ALL
tokenAddress stringrequired
Token Contract Address
Example: 0x495d133B938596C9984d462F007B676bDc57eCEC
Query Parameters
apiKey string
(Required) Your Public API key
Example: {{publicKey}}
Responses
- 200
OK
Response Headers
Date string
Content-Type string
Content-Length integer
Connection string
X-Powered-By string
ETag string
- application/json
- Schema
- Example (from schema)
- Example
Schema
object
{}
{
"data": [
{
"timestamp": 1645617935,
"priceChange": 0,
"previousPrice": 0,
"currentPrice": 0
},
{
"timestamp": 1645825240,
"priceChange": 0,
"previousPrice": 0,
"currentPrice": 0
},
{
"timestamp": 1646032545,
"priceChange": 0,
"previousPrice": 0,
"currentPrice": 0
},
{
"timestamp": 1646239850,
"priceChange": 0,
"previousPrice": 0,
"currentPrice": 0
},
{
"timestamp": 1646447155,
"priceChange": 0,
"previousPrice": 0,
"currentPrice": 0
},
{
"timestamp": 1646654460,
"priceChange": 0,
"previousPrice": 0,
"currentPrice": 0
},
{
"timestamp": 1646861765,
"priceChange": 0,
"previousPrice": 0,
"currentPrice": 0.0001853472349834924
},
{
"timestamp": 1647069070,
"priceChange": 0.0345863677317121,
"previousPrice": 0.0001853472349834924,
"currentPrice": 0.00018541133985976435
},
{
"timestamp": 1647276375,
"priceChange": 1.3096122421198362,
"previousPrice": 0.00018541133985976435,
"currentPrice": 0.00018783950946484623
},
{
"timestamp": 1647483680,
"priceChange": 2.2564341170781885,
"previousPrice": 0.00018783950946484623,
"currentPrice": 0.00019207798424176334
},
{
"timestamp": 1647690985,
"priceChange": 0.9812306637518144,
"previousPrice": 0.00019207798424176334,
"currentPrice": 0.0001939627123214599
},
{
"timestamp": 1647898290,
"priceChange": -0.7748385794799921,
"previousPrice": 0.0001939627123214599,
"currentPrice": 0.00019245981439658743
},
{
"timestamp": 1648105595,
"priceChange": 2.8679729565275545,
"previousPrice": 0.00019245981439658743,
"currentPrice": 0.0001979795098256647
},
{
"timestamp": 1648312900,
"priceChange": 2.589625954292046,
"previousPrice": 0.0001979795098256647,
"currentPrice": 0.00020310643859629027
},
{
"timestamp": 1648520205,
"priceChange": 1.5523288949750005,
"previousPrice": 0.00020310643859629027,
"currentPrice": 0.00020625931853017514
},
{
"timestamp": 1648727510,
"priceChange": -5.999273085103033,
"previousPrice": 0.00020625931853017514,
"currentPrice": 0.0001938852587480774
},
{
"timestamp": 1648934815,
"priceChange": 1.1474588054906194,
"previousPrice": 0.0001938852587480774,
"currentPrice": 0.0001961100122221305
},
{
"timestamp": 1649142120,
"priceChange": -4.000373408143484,
"previousPrice": 0.0001961100122221305,
"currentPrice": 0.00018826487944248945
},
{
"timestamp": 1649349425,
"priceChange": 2.0641412071300205,
"previousPrice": 0.00018826487944248945,
"currentPrice": 0.00019215093239761553
},
{
"timestamp": 1649556730,
"priceChange": -1.0428979452122222,
"previousPrice": 0.00019215093239761553,
"currentPrice": 0.00019014699427193467
},
{
"timestamp": 1649764035,
"priceChange": -1.8223057319757767,
"previousPrice": 0.00019014699427193467,
"currentPrice": 0.00018668193469613756
},
{
"timestamp": 1649971340,
"priceChange": 0.8804533899385772,
"previousPrice": 0.00018668193469613756,
"currentPrice": 0.00018832558211857262
},
{
"timestamp": 1650178645,
"priceChange": -0.630813565045285,
"previousPrice": 0.00018832558211857262,
"currentPrice": 0.00018713759880011817
},
{
"timestamp": 1650385950,
"priceChange": -0.6394837945869726,
"previousPrice": 0.00018713759880011817,
"currentPrice": 0.00018594088418221223
},
{
"timestamp": 1650593255,
"priceChange": 0.4491375743373342,
"previousPrice": 0.00018594088418221223,
"currentPrice": 0.0001867760145591296
},
{
"timestamp": 1650800560,
"priceChange": -0.49486458052499466,
"previousPrice": 0.0001867760145591296,
"currentPrice": 0.00018585172621816027
},
{
"timestamp": 1651007865,
"priceChange": -1.0066819869379424,
"previousPrice": 0.00018585172621816027,
"currentPrice": 0.00018398079036790883
},
{
"timestamp": 1651215170,
"priceChange": -4.792341271107479,
"previousPrice": 0.00018398079036790883,
"currentPrice": 0.0001751638030201978
},
{
"timestamp": 1651422475,
"priceChange": 4.622660227950012,
"previousPrice": 0.0001751638030201978,
"currentPrice": 0.00018326103047617718
},
{
"timestamp": 1651629780,
"priceChange": 0.9483240502238224,
"previousPrice": 0.00018326103047617718,
"currentPrice": 0.00018499893890287078
},
{
"timestamp": 1651837085,
"priceChange": -2.589342742914536,
"previousPrice": 0.00018499893890287078,
"currentPrice": 0.0001802086823039204
},
{
"timestamp": 1652044390,
"priceChange": -4.646915830369434,
"previousPrice": 0.0001802086823039204,
"currentPrice": 0.00017183453651823936
},
{
"timestamp": 1652251695,
"priceChange": -6.31286028126625,
"previousPrice": 0.00017183453651823936,
"currentPrice": 0.00016098686231288148
},
{
"timestamp": 1652459000,
"priceChange": -1.1876837717228952,
"previousPrice": 0.00016098686231288148,
"currentPrice": 0.0001590748474745855
},
{
"timestamp": 1652666305,
"priceChange": 0.5125208297792848,
"previousPrice": 0.0001590748474745855,
"currentPrice": 0.00015989013920283238
},
{
"timestamp": 1652873610,
"priceChange": 8.98604957182565,
"previousPrice": 0.00015989013920283238,
"currentPrice": 0.00017425794637205994
},
{
"timestamp": 1653080915,
"priceChange": -0.5179086347246984,
"previousPrice": 0.00017425794637205994,
"currentPrice": 0.0001733554494211051
},
{
"timestamp": 1653288220,
"priceChange": -3.666058750900371,
"previousPrice": 0.0001733554494211051,
"currentPrice": 0.00016700013679744001
},
{
"timestamp": 1653495525,
"priceChange": -4.156053245811,
"previousPrice": 0.00016700013679744001,
"currentPrice": 0.0001600595221915612
},
{
"timestamp": 1653702830,
"priceChange": 7.701615109455215,
"previousPrice": 0.0001600595221915612,
"currentPrice": 0.0001723866905367883
},
{
"timestamp": 1653910135,
"priceChange": -8.066858935670497,
"previousPrice": 0.0001723866905367883,
"currentPrice": 0.00015848049938731475
},
{
"timestamp": 1654117440,
"priceChange": 0.040117790665756985,
"previousPrice": 0.00015848049938731475,
"currentPrice": 0.000158544078262305
},
{
"timestamp": 1654324745,
"priceChange": 1.6440578425627783,
"previousPrice": 0.000158544078262305,
"currentPrice": 0.0001611506346148953
},
{
"timestamp": 1654532050,
"priceChange": 0.981548770874607,
"previousPrice": 0.0001611506346148953,
"currentPrice": 0.00016273240668821442
},
{
"timestamp": 1654739355,
"priceChange": -2.9858685896369854,
"previousPrice": 0.00016273240668821442,
"currentPrice": 0.0001578734308717507
},
{
"timestamp": 1654946660,
"priceChange": -0.2075126908407608,
"previousPrice": 0.0001578734308717507,
"currentPrice": 0.0001575458234672261
},
{
"timestamp": 1655153965,
"priceChange": -4.259167859143817,
"previousPrice": 0.0001575458234672261,
"currentPrice": 0.00015083568239068656
},
{
"timestamp": 1655361270,
"priceChange": 0.4349373562743922,
"previousPrice": 0.00015083568239068656,
"currentPrice": 0.00015149172311999505
},
{
"timestamp": 1655568575,
"priceChange": 14.289732960968507,
"previousPrice": 0.00015149172311999505,
"currentPrice": 0.00017313948581181214
}
]
}
Loading...